﻿using System;
using System.Collections.Generic;
using Cesave.Domain.PermisosModule.Entities;

namespace Cesave.Domain.PermisosModule.Contracts.Acls
{
	/// <summary>
	/// 
	/// </summary>
	public interface IAclService
		: IDisposable
	{
		/// <summary>
		/// 
		/// </summary>
		/// <returns></returns>
		List<Acl> FindAllAcl();

		/// <summary>
		/// 
		/// </summary>
		/// <param name="aclGuid"></param>
		/// <returns></returns>
		Acl FindAclByGuid(Guid aclGuid);

		/// <summary>
		/// 
		/// </summary>
		/// <param name="acl"></param>
		void AddAcl(Acl acl);

		/// <summary>
		/// 
		/// </summary>
		/// <param name="acl"></param>
		void ChangeAcl(Acl acl);

		/// <summary>
		/// 
		/// </summary>
		/// <param name="acl"></param>
		void DeleteAcl(Acl acl);

	}
}
